$OpenBSD: patch-libntp_ssl_init_c,v 1.3 2017/03/27 11:33:40 bluhm Exp $
--- libntp/ssl_init.c.orig	Thu Mar 23 21:54:28 2017
+++ libntp/ssl_init.c	Thu Mar 23 21:56:59 2017
@@ -21,7 +21,7 @@
 
 int ssl_init_done;
 
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
 
 static void
 atexit_ssl_cleanup(void)
